package xyz.xtt.schedule.dto;

import java.io.Serializable;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.TableName;

@TableName("tbl_user")
public class User implements Serializable {
	private String userId;

	private String phone;

	private String email;

	private String loginPassword;

	private String payPassword;

	private Byte status;

	private String nickname;

	private String avatarUri;

	private Byte gender;

	private String country;

	private String province;

	private String city;

	private String lon;

	private String lat;

	private Byte gradeId;

	private String occupation;

	private String channelCode;

	private String inviteCode;

	private Date registerDatetime;

	private Date loginDatetime;

	private Date lastModifyDatetime;

	private static final long serialVersionUID = 1L;

	public String getUserId() {
		return userId;
	}

	public void setUserId(String userId) {
		this.userId = userId == null ? null : userId.trim();
	}

	public String getPhone() {
		return phone;
	}

	public void setPhone(String phone) {
		this.phone = phone == null ? null : phone.trim();
	}

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email == null ? null : email.trim();
	}

	public String getLoginPassword() {
		return loginPassword;
	}

	public void setLoginPassword(String loginPassword) {
		this.loginPassword = loginPassword == null ? null : loginPassword.trim();
	}

	public String getPayPassword() {
		return payPassword;
	}

	public void setPayPassword(String payPassword) {
		this.payPassword = payPassword == null ? null : payPassword.trim();
	}

	public Byte getStatus() {
		return status;
	}

	public void setStatus(Byte status) {
		this.status = status;
	}

	public String getNickname() {
		return nickname;
	}

	public void setNickname(String nickname) {
		this.nickname = nickname == null ? null : nickname.trim();
	}

	public String getAvatarUri() {
		return avatarUri;
	}

	public void setAvatarUri(String avatarUri) {
		this.avatarUri = avatarUri == null ? null : avatarUri.trim();
	}

	public Byte getGender() {
		return gender;
	}

	public void setGender(Byte gender) {
		this.gender = gender;
	}

	public String getCountry() {
		return country;
	}

	public void setCountry(String country) {
		this.country = country == null ? null : country.trim();
	}

	public String getProvince() {
		return province;
	}

	public void setProvince(String province) {
		this.province = province == null ? null : province.trim();
	}

	public String getCity() {
		return city;
	}

	public void setCity(String city) {
		this.city = city == null ? null : city.trim();
	}

	public String getLon() {
		return lon;
	}

	public void setLon(String lon) {
		this.lon = lon == null ? null : lon.trim();
	}

	public String getLat() {
		return lat;
	}

	public void setLat(String lat) {
		this.lat = lat == null ? null : lat.trim();
	}

	public Byte getGradeId() {
		return gradeId;
	}

	public void setGradeId(Byte gradeId) {
		this.gradeId = gradeId;
	}

	public String getOccupation() {
		return occupation;
	}

	public void setOccupation(String occupation) {
		this.occupation = occupation == null ? null : occupation.trim();
	}

	public String getChannelCode() {
		return channelCode;
	}

	public void setChannelCode(String channelCode) {
		this.channelCode = channelCode == null ? null : channelCode.trim();
	}

	public String getInviteCode() {
		return inviteCode;
	}

	public void setInviteCode(String inviteCode) {
		this.inviteCode = inviteCode == null ? null : inviteCode.trim();
	}

	public Date getRegisterDatetime() {
		return registerDatetime;
	}

	public void setRegisterDatetime(Date registerDatetime) {
		this.registerDatetime = registerDatetime;
	}

	public Date getLoginDatetime() {
		return loginDatetime;
	}

	public void setLoginDatetime(Date loginDatetime) {
		this.loginDatetime = loginDatetime;
	}

	public Date getLastModifyDatetime() {
		return lastModifyDatetime;
	}

	public void setLastModifyDatetime(Date lastModifyDatetime) {
		this.lastModifyDatetime = lastModifyDatetime;
	}

	@Override
	public String toString() {
		StringBuilder sb = new StringBuilder();
		sb.append(getClass().getSimpleName());
		sb.append(" [");
		sb.append("Hash = ").append(hashCode());
		sb.append(", userId=").append(userId);
		sb.append(", phone=").append(phone);
		sb.append(", email=").append(email);
		sb.append(", loginPassword=").append(loginPassword);
		sb.append(", payPassword=").append(payPassword);
		sb.append(", status=").append(status);
		sb.append(", nickname=").append(nickname);
		sb.append(", avatarUri=").append(avatarUri);
		sb.append(", gender=").append(gender);
		sb.append(", country=").append(country);
		sb.append(", province=").append(province);
		sb.append(", city=").append(city);
		sb.append(", lon=").append(lon);
		sb.append(", lat=").append(lat);
		sb.append(", gradeId=").append(gradeId);
		sb.append(", occupation=").append(occupation);
		sb.append(", channelCode=").append(channelCode);
		sb.append(", inviteCode=").append(inviteCode);
		sb.append(", registerDatetime=").append(registerDatetime);
		sb.append(", loginDatetime=").append(loginDatetime);
		sb.append(", lastModifyDatetime=").append(lastModifyDatetime);
		sb.append(", serialVersionUID=").append(serialVersionUID);
		sb.append("]");
		return sb.toString();
	}
}